package com.sinoair.domain.PKM;

import javax.persistence.*;
import java.util.Date;

/**
 * PKM3 个人知识管理
 * 知识收纳表
 * <pre>
 *  Version         Date            Author          Description
 * ---------------------------------------------------------------------------------------
 *  1.0.0           2017/09/09     senlin        -知识收纳表
 * </pre>
 *
 * @author senlin
 * @version 1.0.0 2017/9/9 0009 21:19
 * @date 2017/9/9 0009 21:19
 * @since 1.0.0
 */
@Entity
@Table(name = "pkm_main")
public class Main {

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;
    private String idKey;//唯一识别码
    private Long classId;//分类 id
    private Long layoutId;//模板id
    private String title;//主题
    private String autor;//作者
    private String keywords;//关键词
    private String content;//内容
    private String source;//资料来源
    private String creator;//录入人员
    private String editor;//编辑人员
    private Date timeCreate;//入库日期
    private Date timeEdit;//更新日期
    private Boolean includeImage;//图片标志
    private Boolean bookmark;//书签标致
    private Boolean deleted;//是否删除
    private String others;//其他信息
    private Integer hits=0;
    private Integer icon;
    private Integer fontColor;
    private Date timeRead;
    private Date timeIssue;
    private String tags;
    private String levels;
    private String imgsrc;
    private Integer rate;
    private Integer rateTimes;
    private Date timemodify;
    private String docType;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getIdKey() {
        return idKey;
    }

    public void setIdKey(String idKey) {
        this.idKey = idKey;
    }

    public Long getClassId() {
        return classId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }

    public Long getLayoutId() {
        return layoutId;
    }

    public void setLayoutId(Long layoutId) {
        this.layoutId = layoutId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAutor() {
        return autor;
    }

    public void setAutor(String autor) {
        this.autor = autor;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getEditor() {
        return editor;
    }

    public void setEditor(String editor) {
        this.editor = editor;
    }

    public Date getTimeCreate() {
        return timeCreate;
    }

    public void setTimeCreate(Date timeCreate) {
        this.timeCreate = timeCreate;
    }

    public Date getTimeEdit() {
        return timeEdit;
    }

    public void setTimeEdit(Date timeEdit) {
        this.timeEdit = timeEdit;
    }

    public Boolean getIncludeImage() {
        return includeImage;
    }

    public void setIncludeImage(Boolean includeImage) {
        this.includeImage = includeImage;
    }

    public Boolean getBookmark() {
        return bookmark;
    }

    public void setBookmark(Boolean bookmark) {
        this.bookmark = bookmark;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public String getOthers() {
        return others;
    }

    public void setOthers(String others) {
        this.others = others;
    }

    public Integer getHits() {
        return hits;
    }

    public void setHits(Integer hits) {
        this.hits = hits;
    }

    public Integer getIcon() {
        return icon;
    }

    public void setIcon(Integer icon) {
        this.icon = icon;
    }

    public Integer getFontColor() {
        return fontColor;
    }

    public void setFontColor(Integer fontColor) {
        this.fontColor = fontColor;
    }

    public Date getTimeRead() {
        return timeRead;
    }

    public void setTimeRead(Date timeRead) {
        this.timeRead = timeRead;
    }

    public Date getTimeIssue() {
        return timeIssue;
    }

    public void setTimeIssue(Date timeIssue) {
        this.timeIssue = timeIssue;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getLevels() {
        return levels;
    }

    public void setLevels(String levels) {
        this.levels = levels;
    }

    public String getImgsrc() {
        return imgsrc;
    }

    public void setImgsrc(String imgsrc) {
        this.imgsrc = imgsrc;
    }

    public Integer getRate() {
        return rate;
    }

    public void setRate(Integer rate) {
        this.rate = rate;
    }

    public Integer getRateTimes() {
        return rateTimes;
    }

    public void setRateTimes(Integer rateTimes) {
        this.rateTimes = rateTimes;
    }

    public Date getTimemodify() {
        return timemodify;
    }

    public void setTimemodify(Date timemodify) {
        this.timemodify = timemodify;
    }

    public String getDocType() {
        return docType;
    }

    public void setDocType(String docType) {
        this.docType = docType;
    }
}
